﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LeadTeam.Exam.Entities;

namespace LeadTeam.Exam.Interafce
{
   public  interface IOrganizations
    {
       List<Organizations> GetList();
       void CreateEntity_Child(Organizations postEntity);
       void CreateEntity_Parent(Organizations postEntity,string id);
       void DeleteEntity(string id);
       Organizations GetEntity(string id);
       void Update(string id, Organizations postEntity);
       void UpdateAsParent(string id, string parentId);
       void UpdateAsChild(string id,string parentId);
    }
}
